
package com.market.service;

import java.util.List;

import com.market.bean.Message;
import com.market.web.form.MsgSearchForm;

public interface IMessageService extends IBaseService
{
    public abstract List findNewsByCategory(String category, int max);

    public abstract List findBySearchForm(MsgSearchForm msf, int start, int max);

    public abstract int getCountBySearchForm(MsgSearchForm msf);

    public abstract List findKnowByCategory(String category, int max);

    public abstract List findNews(int max);

    public abstract List findKnow(int max);

    public abstract Message findById(int id);
}
